package com.geovis.emergency.spd.biz.basic.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.geovis.emergency.spd.entity.basic.entity.BasicMaterial;
import com.geovis.emergency.spd.entity.basic.pojo.dto.BasicMaterialDTO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 基础模块-素材管理 Mapper 接口
 * </p>
 *
 * @author 王响
 * @since 2022-03-31
 */
public interface BasicMaterialMapper extends BaseMapper<BasicMaterial> {

    /**
     * 分页查询
     *
     * @param page    分页参数
     * @param wrapper wrapper
     * @return 返回用户分页
     */
    IPage<BasicMaterialDTO> selectByPage(@Param("page") IPage<BasicMaterialDTO> page, @Param(Constants.WRAPPER) Wrapper<Object> wrapper);

}
